Filter SA Messages

Filter SA messages to determine which SA messages to accept from a peer and which SA messages to send to a peer. By default, no inbound or outbound filter exists.

Procedure

  1. Enter either Global Configuration mode or VRF Router Configuration mode for a specific VRF context:

    enable

    configure terminal

    Optional: router vrf WORD<1-16>

  2. Create the inbound filter:

    ip msdp sa-filter in {A.B.C.D}

  3. Create the inbound filter route policy name:

    ip msdp sa—filter in {A.B.C.D} route-policy WORD<1-64>

  4. Create the outbound filter:

    ip msdp sa-filter out {A.B.C.D}

  5. Create the outbound filter route policy name:

    ip msdp sa—filter out {A.B.C.D} route-policy WORD<1-64>

Example

Switch:1>enable

Switch:1#configure terminal

Switch:1(config)#ip msdp sa-filter in 21.0.0.2 route–policy helloworld

Variable definitions

The following table defines parameters for the ip msdp sa-filter command.

Variable

Value

{A.B.C.D}

Specifies the MSDP peer IP address.

route-policy WORD<1-64>

Specifies the route policy name for an inbound or outbound filter.